  <!--sidebar start-->
      <aside>
          <div id="sidebar"  class="nav-collapse ">
              <!-- sidebar menu start-->
              <ul class="sidebar-menu" id="nav-accordion">
              
                  <p class="centered"><a href="<{echo Common::RewriteUrl("admin","index");}>"><img src="<?php echo IMG_PATH;?>ui-sam.jpg" class="img-circle" width="60"></a></p>
              	  <h5 class="centered">房屋出租系统</h5>
              	 <{foreach $___menulist as $k=>$list}>
                  <li class="sub-menu">
                       
                      <a class="<{Common::Is_Active($list["c"]."/".$list["a"]);}>"  href="<{if $list["has_sun"]==1}>javascript:void(0);<{else}><{echo Common::RewriteUrl($list["c"],$list["a"]);}><{/if}>">
                          <i class="<{$list["iconclass"]}>"></i>
                          <span><{$list["base_name"]}></span>
                          <{if $list["has_sun"]==1&&$k!=0}>
                          <span class="fa dcjq-icon"></span>
                          <{/if}>
                      </a>
                      <{if $list["has_sun"]==1}>
                       <ul class="sub jpsubmenu">
                      <{foreach $list["children"] as $vv}>
                      <li class=" <{Common::Is_Active($vv["c"]."/".$vv["a"],1);}>">
                         
                          <{if $vv["has_sun"]==1}>
                          <a  href="<{echo Common::RewriteUrl($vv["c"],$vv["a"]);}>">
                               <i class="<{$vv["iconclass"]}>"></i>
                               <span><{$vv["base_name"]}></span>
                          </a>
                          <ul class="sub">
                               <{foreach $vv["children"] as $vvv}>
                               <li>
                                   <a  href="<{echo Common::RewriteUrl($vvv["c"],$vvv["a"]);}>"> <i class="fa fa-angle-double-right jpangledouble"></i><{$vvv["base_name"]}></a>
                               </li>
                               <{/foreach}>
                          </ul>
                          <{else}>
                          <a  href="<{echo Common::RewriteUrl($vv["c"],$vv["a"]);}>">
                              <i class="fa fa-angle-double-right jpangledouble"></i>
                              <{$vv["base_name"]}>
                          </a>
                          <{/if}>
                      </li>
                      <{/foreach}>
                       </ul>
                      <{/if}>
                  </li>
                <{/foreach}>
                  

              </ul>
              <!-- sidebar menu end-->
          </div>
      </aside>
      <!--sidebar end-->
      
      
